deploy: Write bootloader config even if just kernel arguments changed
authorColin Walters <walters@verbum.org>
Wed, 15 Jan 2014 13:46:05 +0000 (08:46 -0500)
committerColin Walters <walters@verbum.org>
Wed, 15 Jan 2014 14:19:32 +0000 (09:19 -0500)
commit54e58a51ca3ce14175c0af99732213800fb4be30
treeac47f1d9ded310159acce51ae15964fc788c23d3
parent211d9c7985c5d02788948e25dec4c17e73c69c2b
deploy: Write bootloader config even if just kernel arguments changed

The official way to add bootloader arguments to the current deployment
is to redeploy with --karg.  However, doing so tripped up an
optimization made inside the deployment code to just swap the
bootlinks if we're keeping the same "bootcsum".

Change this optimization to look at the pair of (bootcsum, options).
Makefile-tests.am
src/libostree/ostree-sysroot-deploy.c
tests/test-admin-deploy-karg.sh [new file with mode: 0644]